import Vue from 'vue'
import App from './App.vue'

//配置路由环境
import router from "./router/router";

//配置vuex环境
import store from "./store/store";

//配置总线环境
Vue.prototype.$bus = new Vue();

//引入mock
import "mock/mock";

//引入nprograss环境的样式文件 在axios的拦截器中引入js文件
import "nprogress/nprogress.css";

//引入swiper轮播的css文件
import "swiper/swiper-bundle.min.css";

//全局组件
import "components/globalComponent";

//element-ui环境
import "utils/elementUI";

//引入vant 环境
import { Icon,Overlay,Badge} from 'vant';
Vue.use(Icon)
Vue.use(Overlay)
Vue.use(Badge)

//引入表单验证插件环境
import "utils/vee"


Vue.config.productionTip = false;


new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
